<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>

    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/login.css">
</head>
<body>
    <div class="nav">
        网络五子棋对战游戏
    </div>
    <div class="login-container">
        <!-- 登录界面的对话框 -->
        <div class="login-dialog">
            <!-- 提示信息 -->

            <div class="row _aaa">
                <button id="submit" onclick="but_reg() ">注册</button>
            </div>
            <div class="row _bbb">
                <button id="submit" onclick="but_login()">登陆</button>
            </div>
        </div>

    </div>

    <script src="./js/jquery.min.js"></script>
    <script>
        function but_reg()
        {
            location.assign("/register.html"); 
        }
        function but_login()
        {
            location.assign("/login.html"); 
        }
    </script>
</body>
</html>
